projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1562bb
)
Fix failing subr test
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 26 Apr 2021 23:31:52 +0000
(
01:31
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 26 Apr 2021 23:31:52 +0000
(
01:31
+0200)
* test/lisp/subr-tests.el (subr-tests-bug22027): Fix mocked
signature of `read-string' (bug#48022).
test/lisp/subr-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/subr-tests.el
b/test/lisp/subr-tests.el
index 8fa3917a0b956f9d79a0a2c1bcb51d077ab9850a..1e146732163384fe9e082419327cf9fe0375dfff 100644
(file)
--- a/
test/lisp/subr-tests.el
+++ b/
test/lisp/subr-tests.el
@@
-382,7
+382,7
@@
cf. Bug#25477."
"Test for https://debbugs.gnu.org/22027 ."
(let ((default "foo") res)
(cl-letf (((symbol-function 'read-string)
- (lambda (_prompt _init _hist def _inher-input) def)))
+ (lambda (_prompt
&optional
_init _hist def _inher-input) def)))
(setq res (read-passwd "pass: " 'confirm (mapconcat #'string default "")))
(should (string= default res)))))